package com.come4loves.game.module.fight.model;

import java.util.Comparator;

public class InitValueComparator implements Comparator<FightCard> {

	@Override
	public int compare(FightCard o1, FightCard o2) {
		if (o1.getInitValue() > o2.getInitValue()) {
			return 1;
		} else if(o1.getInitValue() < o2.getInitValue()){
			return -1;
		} else {
			return 0;
		}
	}

}
